#include "httplib.h"



void Hello(const httplib::Request& req , httplib::Response& res)
{
  res.body = "Hello";
  res.status = 200;
}


int main()
{
  httplib::Server server; // instantiate a sever object

  server.Get("/hi" , Hello); // register a function method for get request resource hi 
  server.listen("0.0.0.0" , 8081);
  return 0;
}
